@import './vars.css';

html {
  box-sizing: border-box;
  background-color: #fff;
}

*,
::before,
::after {
  box-sizing: inherit;
}

[hidden] {
  display: none !important;
}

body {
  max-width: calc(850 / 32 * 1em);
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--grey-bg);
  color: #333;
}

body[data-mask]::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  animation: fade-in 0.3s forwards;
}

@keyframes fade-in {
  100% {
    background-color: rgba(0, 0, 0, 0.4);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1em;
  height: 1em;
}

a svg {
  pointer-events: none;
}
